package cn.ondraw.ragflow.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Prompt {
    @JsonProperty("empty_response")
    private String emptyResponse;
    @JsonProperty("keywords_similarity_weight")
    private double keywordsSimilarityWeight;
    private String opener;
    private String prompt;
    @JsonProperty("refine_multiturn")
    private boolean refineMultiturn;
    @JsonProperty("rerank_model")
    private String rerankModel;
    @JsonProperty("show_quote")
    private boolean showQuote;
    @JsonProperty("similarity_threshold")
    private double similarityThreshold;
    @JsonProperty("top_n")
    private int topN;
    private boolean tts;
    private List<Variable> variables;
}
